package com.lagou.study.order.service;

import com.lagou.study.order.mapper.StockMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StockService {

    @Autowired
    private StockMapper stockMapper;

    public void minusOne(){
        stockMapper.updateQuantity();
    }
}
